/* Thumbnails */
a.imgbox {
  cursor: url("images/zoomIn.png"), -moz-zoom-in;
}

/* Throbber */
.imgbox-loading::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("images/imgbox-spinner.svg") center center no-repeat;
  cursor: pointer;
  z-index: 999;
}
.imgbox-loading img {
  opacity: .6;
}

/* Overlay */
#imgbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 80;
}

/* Image */
.imgbox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 90;
}

.imgbox-img {
  padding: 0;
  margin: 0;
  border: none;
  width: 100%;
  height: 100%;
  vertical-align: top;
  border-radius: 3px;
}

.imgbox-title {
  font-size: 12px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 20px;
  width: 100%;
  display: none;
  border-radius: 2px;
}

/* Background */
.imgbox-bg-wrap {
  position: absolute;
  padding: 0;
  margin: 0;
  display: none;
  border-radius: 6px;
}

.imgbox-bg-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 5px;
}

/* Controls */
.imgbox-close,
.imgbox-control {
  position: fixed;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.imgbox-close {
  bottom: 0;
  font-family: sans-serif;
  font-size: 50px;
  right: 5px;
  opacity: .3;
}
.imgbox-close:hover {
  opacity: .6;
}

.imgbox-control {
  top: 50%;
  margin-top: -80px;
  font-size: 160px;
  font-family: monospace;
  font-weight: bold;
  opacity: .2;
}
.imgbox-control:hover {
  opacity: .6;
}
.imgbox-control.imgbox-prev {
  left: 0;
}
.imgbox-control.imgbox-next {
  right: 0;
}

/* Light theme */
.imgbox-light #imgbox-overlay {
  background: black;
}
.imgbox-light .imgbox-title {
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.imgbox-light.imgbox-no-overlay .imgbox-title {
  color: black;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  background: white;
  background: rgba(255, 255, 255, 0.4);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.imgbox-light .imgbox-bg-wrap {
  background: white;
  background: rgba(255, 255, 255, 0.2);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.imgbox-light .imgbox-bg-inner {
  background: black;
}
.imgbox-light .imgbox-close, .imgbox-light .imgbox-control {
  color: white;
}
.imgbox-light .imgbox-close {
  text-shadow: 0 0 15px black;
}
.imgbox-light .imgbox-control {
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
}

/* Dark theme */
.imgbox-dark #imgbox-overlay {
  background: white;
}
.imgbox-dark .imgbox-title {
  color: black;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}
.imgbox-dark.imgbox-no-overlay .imgbox-title {
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  background: black;
  background: rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.imgbox-dark .imgbox-bg-wrap {
  background: black;
  background: rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}
.imgbox-dark .imgbox-bg-inner {
  background: white;
}
.imgbox-dark .imgbox-close, .imgbox-dark .imgbox-control {
  color: black;
}
.imgbox-dark .imgbox-close {
  text-shadow: 0 0 15px white;
}
.imgbox-dark .imgbox-control {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}
